package agent.moves;

/**
 * An Exception thrown on an invalid direction Parameter.
 * 
 * @author Johannes Kulick
 * @version 0.1
 * @licence GNU Lesser Genaral Public Licence
 */
public class InvalidDirectionException extends Exception {

	private static final long serialVersionUID = 9141406489846756997L;

	/**
	 * Standard constructor.
	 * 
	 * @param direction
	 *            The invalid direction
	 */
	public InvalidDirectionException(int direction) {
		super(direction + " is not a valid Direction.");
	}

}
